<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<html>
<head>
<!-- Copyright 1997 The Open Group, All Rights Reserved -->

<title>&lt;term.h&gt;</title>
</head><body bgcolor=white>
<center>
<font size=2>
The Single UNIX &reg; Specification, Version 2<br>
Copyright &copy; 1997 The Open Group

</font></center><hr size=2 noshade>
<xref type="10" name="termcaps"></xref>
<h4><a name = "tag_001_009_1013">&nbsp;</a>NAME</h4><blockquote>
term.h - terminal capabilities
</blockquote><h4><a name = "tag_001_009_1014">&nbsp;</a>SYNOPSIS</h4><blockquote>
<pre><code>

#include &lt;term.h&gt;
</code>
</pre>
</blockquote><h4><a name = "tag_001_009_1015">&nbsp;</a>DESCRIPTION</h4><blockquote>
The following data type is defined through <b>typedef</b>:
<dl compact>

<dt><b>TERMINAL</b><dd>An opaque representation of the capabilities for a single terminal
from the <b>terminfo</b> database.

</dl>
<p>
The
<i>&lt;term.h&gt;</i>
header provides a declaration for the following object:
<i>cur_term</i>.
It represents the current terminal record from the <b>terminfo</b> database
that the application has selected by calling
<i><a href="set_curterm.html">set_curterm()</a></i>.
<p>
The
<i>&lt;term.h&gt;</i>
header contains the variable names listed in the
<b>Variable</b>
column in the table in
<xref href=caplist><a href="terminfo.html#tag_002_001_003">
Defined Capabilities
</a></xref>.
<p>
The following are declared as functions, and may also be defined as macros:
<pre>
<code>
int    <a href="del_curterm.html">del_curterm</a>(TERMINAL *);
int    <a href="putp.html">putp</a>(const char *);
int    <a href="restartterm.html">restartterm</a>(char *, int, int *);
TERMINAL *<a href="set_curterm.html">set_curterm</a>(TERMINAL *);
int    <a href="setupterm.html">setupterm</a>(char *, int, int *);
int    <a href="tgetent.html">tgetent</a>(char *, const char *);
int    <a href="tgetflag.html">tgetflag</a>(char *);
int    <a href="tgetnum.html">tgetnum</a>(char *);
char  *<a href="tgetstr.html">tgetstr</a>(char *, char **):
char  *<a href="tgoto.html">tgoto</a>(char *, int, int);
int    <a href="tigetflag.html">tigetflag</a>(char *); 
int    <a href="tigetnum.html">tigetnum</a>(char *);
char  *<a href="tigetstr.html">tigetstr</a>(char *);
char  *<a href="tparm.html">tparm</a>(char *,long, long, long, long, long, long, long, long, long);
int    <a href="tputs.html">tputs</a>(const char *, int, int (*)(int));
</code>
</pre>
<p>
The
<i>&lt;term.h&gt;</i>
header defines the following data type through <b>typedef</b>:
<p>
bool   As described in
<i><a href="curses.h.html">&lt;curses.h&gt;</a></i>.
</blockquote><h4><a name = "tag_001_009_1016">&nbsp;</a>SEE ALSO</h4><blockquote>
<xref href=chapTERMINFO><a href="terminfo.html#tag_002">
Terminfo Source Format (ENHANCED CURSES)
</a></xref>,
<i><a href="../xsh/printf.html">printf()</a></i>,
<i><a href="putp.html">putp()</a></i>,
<i><a href="tigetflag.html">tigetflag()</a></i>,
<i><a href="tgetent.html">tgetent()</a></i>,
<i><a href="curses.h.html">&lt;curses.h&gt;</a></i>.
</blockquote><hr size=2 noshade>
<center><font size=2>
UNIX &reg; is a registered Trademark of The Open Group.<br>
Copyright &copy; 1997 The Open Group
<br> [ <a href="../index.html">Main Index</a> | <a href="../xshix.html">XSH</a> | <a href="../xcuix.html">XCU</a> | <a href="../xbdix.html">XBD</a> | <a href="../cursesix.html">XCURSES</a> | <a href="../xnsix.html">XNS</a> ]

</font></center><hr size=2 noshade>
</body></html>
